Add failing test for a calculation with a :struct return type#343
Add failing test for a calculation with a :struct return type#343skanderm wants to merge 2 commits intoash-project:mainfrom
Conversation
|
Thanks for the test! I don't have time to investigate this right now. The issue will likely arise from somewhere in |
e8b1854 to
370109b
Compare
|
Just getting back to this. It's looking like there's no logic for traversing the combination of The calculation shows up in |
370109b to
7e2a9f5
Compare
7e2a9f5 to
892b3ad
Compare
|
I can take a crack at adding the traversal around Edit: that might actually not be the right place to change things, but either way happy to try. |
Types don't seem to get pulled in when using a
:structreturn type in a calculation with aninstance_ofconstraint. I ran into this as a more complicated circumstance (acalculation -> struct with instance_of constraint (another resource) -> calculation -> union NewType -> array -> struct), but this might be the core of it!